<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="ECSHOP v2.7.3">
    <meta name="Keywords" content="<?php echo ($title); ?>">
    <meta name="Description" content="<?php echo ($title); ?>">
    <title><?php echo ($title); ?></title>
    <link href="/Public/static/home/css/style.css" rel="stylesheet" type="text/css">
    <link href="/Public/static/home/css/index.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/Public/static/home/js/common.js"></script>
    <script type="text/javascript" src="/Public/static/home/js/index.js"></script>
</head>
<body>
<script type="text/javascript" src="/Public/static/home/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="/Public/static/home/js/jquery.json.js"></script>
<script type="text/javascript" src="/Public/static/home/js/transport_jquery.js"></script>
<script type="text/javascript" src="/Public/static/home/js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="/Public/static/home/js/lizi_common.js"></script>
<style>
    .topimg{width:100%; height:50px; margin:0 auto}
    .topimg a img{width:100%; height:50px; margin:0 auto; border:0px}
</style>
<div class="topimg">
    <a href="https://www.baidu.com">
        <img src="/Public/static/home/images/topimg.jpg" width="1024" height="50">
    </a>
</div>
<div id="header" class="new_header">
    <div class="hd_bar">
        <div class="bd_bar_bd cle">
            <ul class="welcome">
                <li><a id="favorite_wb" href="javascript:;" rel="nofollow">收藏FD商城</a></li>
                <?php $user_session = session(C('FRONT_SESSION'))?>
                <li id="ECS_MEMBERZONE">
                    <?php if(empty($user_session)): ?><a href="<?php echo U('login/login');?>" rel="nofollow">请登录</a>
                        <s>|</s>
                        <a href="<?php echo U('login/register');?>" rel="nofollow">免费注册</a>
                        <?php else: ?>
                        <a href="<?php echo U('Member/index');?>" class=""><?php echo ($user_session['account']); ?></a>
                        &nbsp;[
                        <a href="<?php echo U('login/login_out');?>">退出</a>
                        ]<?php endif; ?>

                </li>
            </ul>
            <ul id="userinfo-bar">
                <li class="more-menu">
                    <a href="<?php echo U('Member/index');?>">会员中心</a>
                    <i class="iconfont arrow"> </i>
                    <div class="more-bd">
                        <div class="list">
                            <a href="http://m36.ys.tstxflash.com/user.php?act=order_list">我的订单</a>
                            <a href="http://m36.ys.tstxflash.com/user.php?act=comment_list">我的评价</a>
                            <a href="http://m36.ys.tstxflash.com/user.php?act=account_log">我的余额</a>
                            <a href="http://m36.ys.tstxflash.com/user.php?act=bonus">我的红包</a>
                            <a href="http://m36.ys.tstxflash.com/user.php?act=collection_list">我的收藏</a>
                            <a href="http://m36.ys.tstxflash.com/user.php?act=address_list" class="last">修改收货地址</a>
                        </div>
                    </div>
                </li>
                <li><a href="#">
                    <i class="iconfont vipico"></i>
                    手机版
                </a>
                </li>
            </ul>
        </div>
    </div>
    <script type="text/javascript">

        <!--
        function checkSearchForm()
        {
            if(document.getElementById('keyword').value)
            {
                return true;
            }
            else
            {
                alert("请输入搜索关键词！");
                return false;
            }
        }
        -->

    </script>
    <div class="hd_main cle">
        <div class="logo">
            <a href="/" class="lizi_logo">
                <img src="/Public/static/home/images/logo.jpg" alt="FD商城">
            </a>
        </div>
        <div class="search_box">
            <form action="http://m36.ys.tstxflash.com/search.php" method="get" id="searchForm" name="searchForm" onsubmit="return checkSearchForm()">
                <input class="sea_input" type="text" name="keywords" id="keyword" value="" autocomplete="off">
                <input type="hidden" value="k1" name="dataBi">
                <button type="submit" class="sea_submit">搜索</button>
            </form>
        </div>
        <div class="head_search_hot"> <span>热搜榜：</span>  <a href="http://m36.ys.tstxflash.com/search.php?keywords=%E5%AE%A0%E7%89%A9%E7%8B%97%E7%B2%AE" target="_blank">宠物狗粮</a>  <a href="http://m36.ys.tstxflash.com/search.php?keywords=%E9%B8%9F%E7%AC%BC%EF%BC%8C%E7%A3%A8%E7%89%99%E6%A3%92" target="_blank">鸟笼，磨牙棒</a>  <a href="http://m36.ys.tstxflash.com/search.php?keywords=%E5%9B%BD%E4%BA%A7%E6%96%99" target="_blank">国产料</a>  <a href="http://m36.ys.tstxflash.com/search.php?keywords=%E9%81%9B%E7%8B%97%E7%BB%B3" target="_blank">遛狗绳</a>  </div>
        <div class="intro">
            <ul>
                <li class="no1"><a href="javascript:void(0);" target="_blank">
                    <h4>正品保障</h4>
                    <p>100%正品低价</p>
                </a></li>
                <li class="no2"><a href="javascript:void(0);" target="_blank">
                    <h4>30天退换货</h4>
                    <p>购物有保障</p>
                </a></li>
                <li class="no3"><a href="javascript:void(0);" target="_blank">
                    <h4>满99就包邮</h4>
                    <p>闪电发货</p>
                </a></li>
            </ul>
        </div>
    </div>
    <div class="hd_nav">
        <div class="hd_nav_bd cle">
            <div class="main_nav" id="main_nav">
                <div class="main_nav_link">
                    <a href="javascript:;">全部商品分类</a>
                    <i class="iconfont"></i>
                </div>
                <div class="main_cata" id="J_mainCata" style="opacity: 0; display: none;">
                    <ul>
                        <?php if(is_array($classification_info)): foreach($classification_info as $key=>$v): ?><li>
                                <h3>
                                    <a href="<?php echo U('Classification/lists');?>?id=<?php echo ($v["id"]); ?>"><?php echo ($v["classification"]); ?></a>
                                </h3>
                            </li><?php endforeach; endif; ?>
                    </ul>
                </div>
                <div class="J_subCata" id="J_subCata" style="opacity: 0; left: 213px; top: 35px;">
                    <?php foreach($classification_info as $v){ echo '<div class="J_subView" style="display: none;">'; foreach($v['_data'] as $vv){ echo '<dl><dt><a href="/Classification/lists?id='.$vv['id'].'">'.$vv['classification'].'</a></dt><dd>'; foreach($vv['_data'] as $vvv){ echo '<a href="/Classification/lists?id='.$vvv['id'].'">'.$vvv['classification'].'</a>'; } echo '</dd></dl><div class="clear"></div>'; } echo '</div>'; } ?>
                </div>
            </div>
            <ul class="sub_nav cle" id="sub_nav">
                <li class="current">
                    <a href="/" rel="nofollow">首页</a>
                </li>
                <?php if(is_array($classification_info)): $i = 0; $__LIST__ = $classification_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li>
                        <a href="<?php echo U('classification/lists');?>?id=<?php echo ($v["id"]); ?>" rel="nofollow"><?php echo ($v["classification"]); ?></a>
                    </li><?php endforeach; endif; else: echo "" ;endif; ?>
                <li>
                    <a href="#" rel="nofollow">积分兑换</a>
                </li>
            </ul>
            <?php
 if(empty(session(C('FRONT_SESSION')))){ if(isset($_COOKIE['fd_goods'])){ $goods = $_COOKIE['fd_goods']; $cart_goods = unserialize($goods); }else{ $cart_goods = array(); } }else{ $cart_goods = M('cart')->where(['mid'=>session(C('FRONT_SESSION'))['id']])->select(); } $cart_count = 0; $all_price = 0.00; foreach($cart_goods as $v){ $cart_count += $v['num']; $all_price += $v['subtotal']; } ?>
            <div class="hd_cart" id="ECS_CARTINFO">
                <a class="tit" href="<?php echo U('Cart/cart');?>">
                    <b class="iconfont">Ɲ</b>去购物车结算
                    <span>
                        <i class="iconfont"></i>
                    </span>
                    <em class="num" id="hd_cartnum" style="visibility: visible;"><?php echo ($cart_count); ?></em>
                </a>
                <div class="list">
                    <?php if(empty($cart_count)): ?><p class="fail" style="display:none;">
                            <i class="iconfont">ŭ</i>
                            <br>
                            购物车空啦<br>
                            爱Ta，就带Ta来购物车吧
                        </p>
                        <?php else: ?>
                        <div class="data">
                            <?php if(is_array($cart_goods)): foreach($cart_goods as $key=>$v): ?><dl>
                                    <dt>
                                        <a target="_blank" href="<?php echo U('Goods/detail');?>?id=<?php echo ($v["goods_id"]); ?>">
                                            <img src="<?php echo ($v["litimg"]); ?>">
                                        </a>
                                    </dt>
                                    <dd>
                                        <h4><a target="_blank" href="<?php echo U('Goods/detail');?>?id=<?php echo ($v["goods_id"]); ?>"><?php echo ($v["goods_name"]); ?></a></h4>
                                        <p><span class="red"><?php echo ($v["fd_price"]); ?></span>&nbsp;<i>X</i>&nbsp;<?php echo ($v["num"]); ?></p>
                                        <a class="iconfont del" title="删除" href="javascript:deleteCartGoods(<?php echo ($v['goods_id']); ?>)">Ť</a>
                                    </dd>
                                </dl><?php endforeach; endif; ?>
                            <div class="count">共<span class="red" id="hd_cart_count"><?php echo ($cart_count); ?></span>件商品哦~
                                <p>总价:
                                    <span class="red">
                                        <em id="hd_cart_total"><?php echo ($all_price); ?></em>
                                    </span>
                                    <a href="<?php echo U('Cart/check_out');?>" class="btn">去结算</a>
                                </p>
                            </div>
                        </div><?php endif; ?>
                </div>
                <script type="text/javascript">
                    function deleteCartGoods(rec_id)
                    {
                        Ajax.call('/Cart/out_cart', 'id='+rec_id, deleteCartGoodsResponse, 'POST', 'JSON');
                    }

                    /**
                     * 接收返回的信息
                     */
                    function deleteCartGoodsResponse(res)
                    {
                        if (res.error)
                        {
                            alert(res.err_msg);
                        }
                        else
                        {
                            alert(res.msg);
                            window.location.reload();
                        }
                    }
                </script>
            </div>
        </div>
    </div>
    <div class="search_result"></div>
</div>

<script type="text/javascript" src="/Public/static/home/js/lizi_index.js"></script>
<div class="index-banner">
    <div class="index-slide" id="index-slide">
        <ul style="position: relative; width: 1458px; height: 280px;">
            <?php if(is_array($banner_images)): $i = 0; $__LIST__ = $banner_images;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li style="position: absolute; width: 1458px; left: 0px; top: 0px; display: list-item; background-image: url(&quot;<?php echo ($v["litimg"]); ?>&quot;);">
                <a target="_blank" href="<?php echo ($v["link_url"]); ?>"></a>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
        <div class="trigger-box">
            <div class="triggers">
                <a href="javascript:;" class="current">1</a>
                <a href="javascript:;" class="">2</a>
                <a href="javascript:;" class="">3</a>
                <a href="javascript:;" class="">4</a>
            </div>
        </div>
    </div>
</div>
<div class="w-max ct mb30 clearfix">
    <div class="surprise-tit clearfix">
        <div class="fl sur-titimg overflow">
            <img src="/Public/static/home/tem_images/day_surprises.jpg">
        </div>
    </div>
    <div class="surprise-con clearfix bgwhite border-eee">
        <div class="day-surimg fl" id="day-surimg">
            <a href="http://m36.ys.tstxflash.com/affiche.php?ad_id=11&amp;uri=">
                <img src="/Public/static/home/tem_images/1460440755137550779.jpg" width="222" height="380"></a>
        </div>
        <div class="fr surprise-list ovh">
            <ul class="clearfix" lang="09:00">
                <?php if(is_array($surprise_goods)): $i = 0; $__LIST__ = $surprise_goods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li>
                    <div class="sur-hear p25">
                        <a href="<?php echo U('Goods/detail');?>?id=<?php echo ($v["id"]); ?>" class="imgBox ftc">
                            <img src="<?php echo ($v["litimg"]); ?>" class="zom">
                        </a>
                        <h1 class="overflow mt"><a href="/" class="ft12 c333"><?php echo ($v["goods_name"]); ?></a></h1>
                    </div>
                    <div class="sur-price clearfix">
                        <div class="fl sur-numbox overflow">
                            <div class="sur-num bold">￥<?php echo ($v["fd_price"]); ?></div>
                            <p class="c999"><del>原价:￥<?php echo ($v["market_price"]); ?></del></p>
                        </div>
                        <div class="fr">
                            <a href="/" class="atonce-buy bold ft14 ftc">立即抢购</a>
                        </div>
                    </div>
                </li><?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
</div>

<div class="w-max ct bgwh mb30 ovh border-eee">
    <div class="newopro-l fl">
        <a href="http://m36.ys.tstxflash.com/affiche.php?ad_id=12&amp;uri=">
            <img src="/Public/static/home/tem_images/1460440788951670189.jpg" width="224" height="478">
        </a>
    </div>
    <div class="newopro-r fr">
        <h2 class="index-tt">
            <em class="ft18 c000">刚出炉新品</em>
            <a href="http://m36.ys.tstxflash.com/search.php?intro=new" class="fr c666">更多&gt;&gt;</a>
        </h2>
        <ul class="newgoods_fastbuy">
            <?php if(is_array($new_goods)): $i = 0; $__LIST__ = $new_goods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li class="prolist-cent clearfix have_num">
                <div class="prolist-l fl">
                    <a href="<?php echo U('Goods/detail');?>?id=<?php echo ($v["id"]); ?>" title="<?php echo ($v["goods_name"]); ?>" class="imgBox">
                        <img src="<?php echo ($v["litimg"]); ?>" style="height: 158px;width: 158px;" class="zom" alt="<?php echo ($v["goods_name"]); ?>">
                    </a>
                </div>
                <div class="prolist-r fl">
                    <h3 class="ft14 c333 bold"><a href="#" title="<?php echo ($v["goods_name"]); ?>"><?php echo ($v["goods_name"]); ?></a></h3>
                    <p><em class="c333">[推荐理由]</em><?php echo ($v["description"]); ?></p>
                    <div>
                        <span class="p-price"><em class="fastbuy_price">￥<?php echo ($v["fd_price"]); ?></em><del>原价:￥<?php echo ($v["market_price"]); ?></del></span>
                        <a href="#" class="p-buy fr ibg">立即抢购</a>
                        <span class="p-time fr">销量：763件</span>
                    </div>
                </div>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
</div>

<div class="tj-wrap w-max ct mb30 clearfix">
    <h2>今天推荐了哪些精品？</h2>
    <ul>
        <?php if(is_array($boutique_goods)): $i = 0; $__LIST__ = $boutique_goods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li>
            <div class="tj-left fl">
                <a href="<?php echo U('Goods/detail');?>?id=<?php echo ($v["id"]); ?>" title="<?php echo ($v["goods_name"]); ?>" target="_blank">
                    <img src="<?php echo ($v["litimg"]); ?>" alt="<?php echo ($v["goods_name"]); ?>" class="zom">
                </a>
            </div>
            <div class="tj-right fl">
                <h3><a href="#" target="_blank"><?php echo ($v["goods_name"]); ?></a></h3>
                <div class="tj-price">
                    <b class="ibg"></b>
                    <em class="db ft22 cf40 bold">￥<?php echo ($v["fd_price"]); ?></em>
                </div>
                <p class="tj-des lh20 c999 ovh"><?php echo ($v["description"]); ?></p>
            </div>
        </li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>

<div class="brand_temai">
    <ul id="brand_temai" class="cle">
        <li>
            <a href="#" target="_blank">
                <img src="/Public/static/home/tem_images/1448990018817846134.jpg" width="580" height="250" border="0">
            </a>
            <p>
                <i class="iconfont"></i>
                <em class="timer" showday="show" value="1640937600">剩余1780天9时19分29秒</em>
            </p>
        </li>
        <li>
            <a href="#" target="_blank">
                <img src="/Public/static/home/tem_images/1448989640974907552.jpg" width="580" height="250" border="0" />
            </a>
            <p>
                <i class="iconfont"></i>
                <em class="timer"showday="show" value="1640937600"></em>
            </p>
        </li>
        <li>
            <a href="#" target="_blank">
                <img src="/Public/static/home/tem_images/1448989657559892617.jpg" width="580" height="250" border="0" />
            </a>
        <p>
            <i class="iconfont"></i>
            <em class="timer"showday="show" value="1640937600"></em>
        </p>
        </li>
        <li>
            <a href="#" target="_blank">
                <img src="/Public/static/home/tem_images/1448989615330840923.jpg" width="580" height="250" border="0" />
            </a>
            <p>
                <i class="iconfont"></i>
                <em class="timer"showday="show" value="1671264000"></em>
            </p>
        </li>
    </ul>
</div>
<div class="series_list">
    <div class="series_box cle">
        <?php if(is_array($info)): $i = 0; $__LIST__ = $info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="series_info">
        <div class="series_name name_hufu">
            <h2><?php echo ($v["classification"]); ?></h2>
        </div>
        <ul class="brand">
            <li>
                <a href="<?php echo U('classification/lists');?>?id=<?php echo ($v["id"]); ?>" title="百利本能">
                    <img src="/Public/static/home/tem_images/1447705943471297107.jpg" alt="百利本能" style="display: inline;">
                </a>
            </li>
            <li>
                <a href="<?php echo U('classification/lists');?>?id=<?php echo ($v["id"]); ?>" title="艾尔Aier">
                    <img src="/Public/static/home/tem_images/1447704649936189900.jpg" alt="艾尔Aier" style="display: inline;">
                </a>
            </li>
            <li>
                <a href="<?php echo U('classification/lists');?>?id=<?php echo ($v["id"]); ?>" title="发育宝Haipet">
                    <img src="/Public/static/home/tem_images/1447704682791039878.jpg" alt="发育宝Haipet" style="display: inline;">
                </a>
            </li>
        </ul>
        <div class="brand_cata">
            <?php $n = 1;?>
            <?php if(is_array($v["_data"])): $i = 0; $__LIST__ = $v["_data"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><a href="<?php echo U('classification/lists');?>?id=<?php echo ($vv["id"]); ?>" title="<?php echo ($vv["classification"]); ?>"><?php echo ($vv["classification"]); ?></a>
                <?php
 $n++; if($n > 6){ break; } endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
        <div class="series_pic">
            <a href="#">
                <img src="/Public/static/home/tem_images/1449011954874068927.jpg" width="340" height="400">
            </a>
        </div>
        <div class="pro_list">
        <ul class="cle">
            <?php if(is_array($v["_goods"])): $i = 0; $__LIST__ = $v["_goods"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$goods_vv): $mod = ($i % 2 );++$i;?><li>
                <a href="<?php echo U('Goods/detail');?>?id=<?php echo ($goods_vv["id"]); ?>">
                    <p class="pic">
                        <img src="<?php echo ($goods_vv["litimg"]); ?>" style="display: inline;">
                    </p>
                    <h3><?php echo ($goods_vv["goods_name"]); ?></h3>
                    <p class="price">￥<?php echo ($goods_vv["fd_price"]); ?></p>
                </a>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>>
        </ul>
    </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<div id="footer">
    <div class="ft-bg">
        <div class="w-ensure mb20">
            <div class="w-main">
                <ul>
                    <li><a target="_blank" href="http://m36.ys.tstxflash.com/"><img width="300" height="90" src="/Public/static/home/images/ft-svr1.gif"></a></li>
                    <li><a target="_blank" href="http://m36.ys.tstxflash.com/"><img width="300" height="90" src="/Public/static/home/images/ft-svr2.gif"></a></li>
                    <li><a target="_blank" href="http://m36.ys.tstxflash.com/"><img width="300" height="90" src="/Public/static/home/images/ft-svr3.gif"></a></li>
                    <li><a target="_blank" href="http://m36.ys.tstxflash.com/"><img width="300" height="90" src="/Public/static/home/images/ft-svr4.gif"></a></li>
                </ul>
            </div>
        </div>
        <div class="ft_main">
            <div class="ft_links">
                <div class="ft_nav">
                    <a href="http://m36.ys.tstxflash.com/article.php?id=1" class="noborder" rel="nofollow">免责条款</a>
                    <a href="http://m36.ys.tstxflash.com/article.php?id=2" rel="nofollow">隐私保护</a>
                    <a href="http://m36.ys.tstxflash.com/article.php?id=3" rel="nofollow">咨询热点</a>
                    <a href="http://m36.ys.tstxflash.com/article.php?id=4" rel="nofollow">联系我们</a>
                    <a href="http://m36.ys.tstxflash.com/article.php?id=5" rel="nofollow">公司简介</a>
                    <a href="http://m36.ys.tstxflash.com/wholesale.php" rel="nofollow">批发方案</a>
                    <a href="http://m36.ys.tstxflash.com/myship.php" rel="nofollow">配送方式</a>
                </div>
            </div>
            <div class="ft_txt">
                <p>© 2005-2017 魔客吧 版权所有，并保留所有权利。ICP备案证书号：<a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow">冀ICP12345678号</a></p>
                <p class="ft_contact"> <span>服务时间：09:00-23:00</span> </p>
            </div>
        </div>
    </div>
</div>
<script>
    $(function(){
        $(window).scroll(function(){
            if($(window).scrollTop()>100){  //距顶部多少像素时，出现返回顶部按钮
                $("#side-bar .gotop").fadeIn();
            }
            else{
                $("#side-bar .gotop").hide();
            }
        });
        $("#side-bar .gotop").click(function(){
            $('html,body').animate({'scrollTop':0},500); //返回顶部动画 数值越小时间越短
        });
    });
</script>
<ul id="side-bar" class="side-pannel side-bar">
    <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=272922238&amp;site=%E9%AD%94%E5%AE%A2%E5%90%A7&amp;menu=yes" target="_blank" class="kefuqq"></a>
    <a href="http://amos1.taobao.com/msg.ww?v=2&amp;uid=o%E8%8F%9C%E9%BE%99&amp;s=2" target="_blank" class="kefuww"></a>
    <a href="javascript:;" class="qr weixin"><i></i></a>
    <a href="javascript:;" class="gotop" style="display: block;"></a>
</ul>
</body>
</html>